﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Controls;
using System.Windows.Input;
using System.Windows;

namespace OpenExpressApp.Module.WPF
{
    public abstract class WPFObjectView : ObjectView
    {
        private ToolBar _toolBar;

        public WPFObjectView(Type boType) : base(boType) { }

        public new FrameworkElement Control
        {
            get
            {
                return base.Control as FrameworkElement;
            }
        }

        /// <summary>
        /// 工具栏
        /// </summary>
        public ToolBar ToolBar
        {
            get
            {
                return this._toolBar;
            }
            set
            {
                this._toolBar = value;
            }
        }
    }
}
